package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.heima.pojo.entity.BusinessType;
import com.heima.pojo.entity.Region;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 区域详情响应实体类
 */
@Data
public class RegionDetailVO {

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;

    private String addr;

    private Long createUserId;

    private Long ownerId;

    private String ownerName;

    private Long businessId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;

    private Integer vmCount;

    private Region region;

    private BusinessType businessType;

    private  String areaCode;


}
